package rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * @Author: admin
 * @Description:
 * @Date: 2018/11/19 8:09
 */

public class RmiServiceImpl extends UnicastRemoteObject implements RmiService {
    public RmiServiceImpl()throws RemoteException{

    }
    @Override
    public String hello(String name) throws RemoteException{
        return "hello: "+name;
    }
}
